home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.applications,comp.sys.amiga.misc,comp.sys.amiga.introduction
- Path: news.kei.com!ub!dsinc!scala!news
- From: dave.haynie@scala.com (Dave Haynie)
- Subject: Re: HELP: How to delete a file named ".."
- Sender: news@scala.scala.com (Usenet administrator)
- Message-ID: <1996Jan10.200019.11341@scala.scala.com>
- Date: Wed, 10 Jan 1996 20:00:19 GMT
- Reply-To: dave.haynie@scala.com (Dave Haynie)
- References: <19084108@cacios.locebbs.chnet.ch> <3@diode.fipnet.fi> <4cn8to$r8g@sundog.tiac.net>
- Nntp-Posting-Host: gator
- Organization: Scala Computer Television, US Research Center
-
- In <4cn8to$r8g@sundog.tiac.net>, dmeyer@tiac.net (David Meyer) writes:
- >Tapio Heiskanen (tj@iki.fi) wrote:
- >: In article <19084108@cacios.locebbs.chnet.ch> "Stefano Cairoli" <Cacio@cacios.locebbs.chnet.ch> writes:
-
- >:> I don't know how, but I have on my hard disk a file that is named ".."
- >:> The problem is that it seems that it's impossible to delete!! I've tried
- >:> with the SHELL, with Directory Opus 4, DOpus 5 and the Workbench..
- >:> NOTHING!! :
-
- "." is not a special character to AmigaDOS. You should be able to
- delete this normally, just by typing:
-
- 1> Delete ..
-
- Alternatives that also work:
-
- 1> Delete ".."
-
- 1> Delete '.'.
-
- >: You probably have UnixDirs or some other commodity to enable . and .. to
- >: work as on a unix system
-
- If you have any special hacks, or a nonstandard shell, the ".." may be
- something magic. Turn these off, and it should either vanish or become
- deletable. I suppose something could have created a hard link called
- ".." which links to your directory's parent, which would be rather
- ugly, though normally deletable in most cases.
-
- > If you have a utility that emulates UNIX directory structure,
- >don't even THINK about deleting the . or .. "files". These are the
- >representations of the directories "above" the one you are looking
- >at.
-
- There isn't much chance of deleting those. If they're magic (such as
- directories that don't really exist, provided by the UNIX-like shell
- you're using), you can't really delete what isn't there. You also
- can't delete anything that's still Locked by something, in the DOS
- sense. When you CD to a directory, you open a Lock on it, which
- prevents it from being deleted while you're in it.
-
- Dave Haynie | ex-Commodore Engineering | for DiskSalv 3 &
- Sr. Systems Engineer | Hardwired Media Company | "The Deathbed Vigil"
- Scala Inc., US R&D | Ki No Kawa Aikido | info@iam.com
-
- "Feeling ... Pretty ... Psyched" -R.E.M.
-
-